Python is a modern computer language that is very easy to learn. Python is used for simple scripting but also for huge research projects, in physics [1], and other sciences see [2]. Among the many excellent books on Python, we recommend the following [3]
Python: Dialects and versions, libraries
In order to write your own Python programs and to run the ones on this site, you must install some free software.
Python Version 2.6 or 2.7 (not 3.x, these versions being considered too new for general users): This is the programming language
Matplotlib. This library has a feel similar to matlib. It allows to produce very nice plots, histograms, 3d, etc.
NumPy: This library contains useful numerical routines (matrices, linear algebra, optimization routines, etc).
Installing Python
Linux
On Linux, the installation of Python (with numpy and pylab) is quasi automatic.
Ubuntu
On Ubuntu, for example, you go to the Synaptic package manager, make sure that you are online, and then simply click on the relevant packages. A snapshot of the download window is shown here.
Debian
On Debian, type as root the following command on a shell
Python help
Introduction
Python is a modern computer language that is very easy to learn. Python is used for simple scripting but also for huge research projects, in physics [1], and other sciences see [2]. Among the many excellent books on Python, we recommend the following [3]Python: Dialects and versions, libraries
In order to write your own Python programs and to run the ones on this site, you must install some free software.Installing Python
Linux
On Linux, the installation of Python (with numpy and pylab) is quasi automatic.Ubuntu
On Ubuntu, for example, you go to the Synaptic package manager, make sure that you are online, and then simply click on the relevant packages. A snapshot of the download window is shown here.Debian
On Debian, type as root the following command on a shellWindows and Mac
Useful Websites
Python documentation: http://docs.python.org Python in 10 Minutes: http://www.poromenos.org/tutorials/pythonReferences